package com.erp.base.business.entity;

import java.util.Date;

import com.erp.base.base.BaseEntity;


/**
 * 专家与服务关联表
 * 
 * @author wanghw
 * @email whongwei_yz@sina.com
 * @date 2018-12-28 13:31:50
 */
public class ServerUserRel extends BaseEntity<ServerUserRel, Long> {
	private static final long serialVersionUID = 1L;
	
	//专家id（用户id）
	private Long userId;
	//服务id
	private Long serverId;
	//创建时间
	private Date createDate;
	//更新时间
	private Date updateDate;
	//备注
	private String remarks;
	
	public ServerUserRel() {
		super();
	}
	public ServerUserRel(Long userId, Long serverId, Date createDate, Date updateDate) {
		super();
		this.userId = userId;
		this.serverId = serverId;
		this.createDate = createDate;
		this.updateDate = updateDate;
	}
	/**
	 * 设置：专家id（用户id）
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：专家id（用户id）
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：服务id
	 */
	public void setServerId(Long serverId) {
		this.serverId = serverId;
	}
	/**
	 * 获取：服务id
	 */
	public Long getServerId() {
		return serverId;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateDate() {
		return createDate;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateDate() {
		return updateDate;
	}
	/**
	 * 设置：备注
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	/**
	 * 获取：备注
	 */
	public String getRemarks() {
		return remarks;
	}
}
